INCLUDE_DIRECTORIES(
  ${TulipCoreInclude}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)
LINK_DIRECTORIES(
    ${CMAKE_BINARY_DIR}/bin
)

##----------------------------------------------------------------------------------------------------------------------------
SET(Planarity_SRCS
    Planarity.cpp
)

ADD_LIBRARY(Planarity SHARED ${Planarity_SRCS})
TARGET_LINK_LIBRARIES(Planarity ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Simple_SRCS
Simple.cpp
)

ADD_LIBRARY(Simple SHARED ${Simple_SRCS})
TARGET_LINK_LIBRARIES(Simple ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Tree_SRCS
Tree.cpp
)

ADD_LIBRARY(Tree SHARED ${Tree_SRCS})
TARGET_LINK_LIBRARIES(Tree ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Connected_SRCS
Connected.cpp
)

ADD_LIBRARY(Connected SHARED ${Connected_SRCS})
TARGET_LINK_LIBRARIES(Connected ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Biconnected_SRCS
Biconnected.cpp
)

ADD_LIBRARY(Biconnected SHARED ${Biconnected_SRCS})
TARGET_LINK_LIBRARIES(Biconnected ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Triconnected_SRCS
Triconnected.cpp
)

ADD_LIBRARY(Triconnected SHARED ${Triconnected_SRCS})
TARGET_LINK_LIBRARIES(Triconnected ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Outerplanar_SRCS
Outerplanar.cpp
)

ADD_LIBRARY(Outerplanar SHARED ${Outerplanar_SRCS})
TARGET_LINK_LIBRARIES(Outerplanar ${LibTulipCoreName})

##----------------------------------------------------------------------------------------------------------------------------
SET(Acyclic_SRCS
Acyclic.cpp
)

ADD_LIBRARY(Acyclic SHARED ${Acyclic_SRCS})
TARGET_LINK_LIBRARIES(Acyclic ${LibTulipCoreName})

SET(LIBRARY_OUTPUT_PATH "${TULIP_PLUGINS_DIR}")